package com.liusand.service;

import com.liusand.dto.ShoppingCartDto;
import com.liusand.dto.SubShoppingCartDto;
import com.liusand.pojo.ShoppingCart;

import java.util.List;

/**
 * @author :liusha
 * packageName :com.liusand.service
 * fileName :ShoppingCartService
 * creationTime :2022/12/1 21:12
 */
public interface ShoppingCartService {
    List<ShoppingCart> list();

    ShoppingCart joinShoppingCart(ShoppingCartDto shoppingCartDto);

    ShoppingCart subShoppingCart(SubShoppingCartDto subShoppingCartDto);

    boolean cleanShoppingCart();
}
